package com.zhf.service.impl;

import com.zhf.dao.ResourceCategoryMapper;
import com.zhf.domain.ResourceCategory;
import com.zhf.service.ResourceCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: ZhaoHuanfeng
 * @Date: 2020/12/5 16:08
 */
@Service
public class ResourceCategoryServiceImpl implements ResourceCategoryService {

    @Autowired
    private ResourceCategoryMapper resourceCategoryMapper;

    @Override
    public List<ResourceCategory> findAllResourceCategory() {
        List<ResourceCategory> resourceCategory = resourceCategoryMapper.findAllResourceCategory();
        return resourceCategory;
    }
}
